﻿<!--include:includePage\getInputNumber-->
<!--If:query.problemId-->
<!--Value:problem.Title--><!--Value:problem.Title-->
<div class="HI">
    <div class="W1260 P_10">
        <!--If:currentUser.Permission#currentUser.PermissionFlag.OnlineJudgeEditor-->
        <a href="problemEdit.html"><div class="BtnGreen F14 FL">添加新问题</div></a>
        <a href="problemEdit.html#!problemId==@query.problemId"><div class="BtnGreen ML_10 F14 FL">修改问题</div></a>
        <a href="problemDataEdit.html#!problemId==@query.problemId"><div class="BtnGreen ML_10 F14 FL">编辑数据</div></a>
        <a href="problemSolutionEdit.html#!problemId==@query.problemId"><div class="BtnGreen ML_10 F14 FL">编辑题解</div></a>
        <a href="javascript:fastCSharp.FloatCenters.uploadTestData.Show();"><div class="BtnGreen ML_10 F14 FL">上传数据Zip文件</div></a>
        <a href="problemSpecialProgram.html#!problemId==@query.problemId"><div class="BtnGreen ML_10 F14 FL">提交特判程序</div></a>
        <!--If:currentUser.Permission#currentUser.PermissionFlag.OnlineJudgeEditor-->

        <a href="problemCode.html#!problemId==@query.problemId"><div class="BtnGreen ML_10 F14 FL">提交标程</div></a>
        <a href="javascript:Problem.ShowReworkTestUser(=@query.problemId);"><div class="BtnGreen ML_10 F14 FL">选择验题人</div></a>
        <a href="=@problem.Path.CodeJudge" target="_blank"><div class="BtnGreen ML_10 F14 FL">查看</div></a>
        <div class="Clear"></div>
    </div>
    <!--If:currentUser.Permission=Admin-->
    <div class="W1260 PB_10">
        <a href="javascript:Problem.ReJudge(=@query.problemId);"><div class="BtnGreen F14">ReJudge</div></a>
        <a href="judgeList.html#!problemId==@problem.Id" target="_blank"><div class="BtnGreen ML_10 F14">Judge列表</div></a>
        <a href="javascript:Problem.RefreshTestData(=@query.problemId);"><div class="BtnGreen ML_10 F14">恢复数据</div></a>
        <a href="problem/Download?problemId==@query.problemId" target="_blank"><div class="BtnGreen ML_10 F14">下载Zip文件</div></a>
    </div>
    <!--If:currentUser.Permission=Admin-->        
</div>
<!--If:query.problemId-->
<div class="PopupWin W480" id="uploadTestData" body="" floatcenter="{AutoClass:'ShowWin'}">
    <div class="PHead">
        <a href="javascript:fastCSharp.FloatCenters.uploadTestData.Hide();"><div class="FR M_10"><img src="/images/icon/wrong.png" alt="" class="HO08 Pointer" /></div></a>
        <div class="P_10 F20 White ML_10">上传打包文件</div>
    </div>
    <div class="M_20">
        <div class="MT_10" name="mentionEditorUploadImage">
            <div class="TL P_10 F16 Gray80">输入输出文件为UTF8编码的文本文件，命名为1.in (test 1的输入文件), 2.in, 1.out (test 1的输出文件), 2.out。文件的编号对应test的编号。<br /><br />
            请将数据文件压缩为zip格式再上传(可以有目录，也可以没有目录)，Zip文件大小不超过 8 MB。如数据文件压缩后大小超过 8 MB，请拆为多个文件，每个文件里面对应不同的test，分多次上传。<br /><br />
            test1 的输入数据将会被预先加载到网页中，并作为示例测试用户程序的正确性，因此test1的数据文件不要太大。
            </div>
        </div>
        <div class="M_20">
            <div class="FR"><iframe id="uploadTestDataIFrame" name="uploadTestDataIFrame" src="uploadProgram.html?v=__VERSION__#type=TestData&callBack=parent.Problem.OnUploadTestData&problemId==@query.problemId&button=%u4E0A%u4F20%u6253%u5305%u6587%u4EF6" frameborder="0" marginwidth="0" marginheight="0" vspace="0" hspace="0" width="0" height="0" allowtransparency="true" scrolling="no"></iframe></div>
            <a href="javascript:fastCSharp.FloatCenters.uploadTestData.Hide();"><div class="BtnGreen F14 FR MR_10 IB">关闭</div></a>
            <div class="Clear"></div>
        </div>
        <div></div>
    </div>
</div>
